<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>

<style>
    div{
        display: flex;
        width: 600px;
        height: 300px;
        background-color: rgba(112, 220, 203, 0.4);
        /*flex-direction: row;*/
        /*flex-wrap: wrap;*/
        /*合写   flex-flow 属性是 flex-direction和 flex-wrap 属性的复合属性 */
        flex-flow: column wrap;
    }

    div span{
        width: 150px;
        height: 100px;
        background-color: #eea068;
    }
</style>

<body>
<div>
    <span>1</span>
    <span>2</span>
    <span>3</span>
    <span>4</span>
    <span>5</span>
</div>
</body>
</html>